﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rem.Objects
{
    public partial class QueryObject 
    {
        public static Dictionary<BaseObjectTypes, string> BaseObjectInfo
        {
            get
            {
                Dictionary<BaseObjectTypes, string> baseObjectInfo = new Dictionary<BaseObjectTypes, string>();
                baseObjectInfo.Add(Objects.BaseObjectTypes.Employee, "员工");
                baseObjectInfo.Add(Objects.BaseObjectTypes.Customer, "客户");
                baseObjectInfo.Add(Objects.BaseObjectTypes.Contract, "合同");
                baseObjectInfo.Add(Objects.BaseObjectTypes.Queries, "查询");
                //baseObjectInfo.Add(Objects.BaseObjectTypes.WorkLog, "历史信息");
                return baseObjectInfo;

            }
        }
      
        
        public static List<string> BaseObjectTypes
        {
            get
            {
                return BaseObjectInfo.Select<KeyValuePair<BaseObjectTypes,string>,string>((pair) =>
                {
                    return pair.Value;
                }).ToList();
            }
        }

        #region IBaseObject Members

        public int ObjectID
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public ObjectState State
        {
            protected get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public bool Dirty
        {
            protected get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public BaseObjectTypes ObjectType
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        #endregion
    }
}
